package example

import "github.com/gin-gonic/gin"

type Voucher struct {
	PlayerId   string `header:"PLAYER_ID"`
	RoomId     string `header:"ROOM_ID"`
	PlayerMode int    `header:"PLAYER_MODE"`
}

func (p *Voucher) Bind(c *gin.Context) error {
	return c.ShouldBindHeader(p)
}
